From aed8120776a99eddb700b81a722a7d417d66d401 Mon Sep 17 00:00:00 2001 From: Gunnar Hjalmarsson Date: Thu, 14 Jan 2021 22:20:24 +0100 Subject: [PATCH] Don't fetch remote images when reading docs on disk --- debian/changelog | 2 ++ ...ote-images-when-reading-docs-on-disk.patch | 25 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 28 insertions(+) create mode 100644 debian/patches/no-remote-images-when-reading-docs-on-disk.patch diff --git a/debian/changelog b/debian/changelog index b81f085..1eb7aa0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ opencc (1.1.1+git20200624+ds2-3) UNRELEASED; urgency=medium * Team upload. * Replace shlibs file with symbols file + * debian/patches/no-remote-images-when-reading-docs-on-disk.patch: + - Fixes a privacy breach previously reported as Lintian warnings -- Gunnar Hjalmarsson Thu, 14 Jan 2021 19:15:00 +0100 diff --git a/debian/patches/no-remote-images-when-reading-docs-on-disk.patch b/debian/patches/no-remote-images-when-reading-docs-on-disk.patch new file mode 100644 index 0000000..3ea24ee --- /dev/null +++ b/debian/patches/no-remote-images-when-reading-docs-on-disk.patch @@ -0,0 +1,25 @@ +Description: Don't fetch remote images when reading docs on disk + This fixes a privacy breach previously reported as Lintian warnings +Author: Gunnar Hjalmarsson +Forwarded: no +Last-Update: 2021-01-14 + +--- a/README.md ++++ b/README.md +@@ -1,12 +1,12 @@ + # Open Chinese Convert 開放中文轉換 + +-[![Travis](https://img.shields.io/travis/BYVoid/OpenCC.svg)](https://travis-ci.org/BYVoid/OpenCC) +-[![AppVeyor](https://img.shields.io/appveyor/ci/Carbo/OpenCC.svg)](https://ci.appveyor.com/project/Carbo/OpenCC) +-[![Python package](https://github.com/BYVoid/OpenCC/workflows/Python%20package/badge.svg?branch=master)](https://github.com/BYVoid/OpenCC/actions?query=workflow%3A%22Python+package%22) ++[[Travis](https://travis-ci.org/BYVoid/OpenCC)] ++[[AppVeyor](https://ci.appveyor.com/project/Carbo/OpenCC)] ++[[Python package](https://github.com/BYVoid/OpenCC/actions?query=workflow%3A%22Python+package%22)] + + ## Introduction 介紹 + +-![OpenCC](https://opencc.byvoid.com/img/opencc.png) ++OpenCC + + Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversions between Traditional Chinese, Simplified Chinese and Japanese Kanji (Shinjitai). It supports character-level and phrase-level conversion, character variant conversion and regional idioms among Mainland China, Taiwan and Hong Kong. This is not translation tool between Mandarin and Cantonese, etc. + diff --git a/debian/patches/series b/debian/patches/series index 1528142..74933a6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ use-cmake-install-libdir.patch 0003-use-system-libraries.patch 0003-data-Explicitly-use-python3.patch +no-remote-images-when-reading-docs-on-disk.patch -- 2.30.2